from django.urls import path
from user import views as user_views

urlpatterns = [
	path("status", user_views.login_status, name="登录状态"),
    path("login", user_views.login, name="登录"),
	path("register", user_views.register, name="注册"),
	path("logout", user_views.logout, name="退出"),
	path("<int:uid>", user_views.user_info),
	path("avatar", user_views.user_avatar, name="更新用户头像"),
]